import React from 'react';
import './video.less'
import poster from '../../assets/images/poster.jpg'

interface Props {
    src: string;
}

const Video: React.FC<Props> = ({ src }) => {
    return (
        <div className="video-container">
            <video src={ src } controls></video>
        </div>
    );
};

export default Video;
